package com.qili.entity.base;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author zhangxiaopeng
 * @date 2021-04-06
 */
@Table(name = "base_rule")
@Data
@ToString
@EqualsAndHashCode
@Component
public class BaseRule {

    @Id
    @Column(name = "id")
    private String id;
    /*标题*/
    @Column(name = "title")
    private String title;
    /*内容*/
    @Column(name = "info")
    private String info;

    @Column(name = "create_by")
    private String createBy;

    @Column(name = "create_date")
    private String createDate;

    @Column(name = "modify_by")
    private String modifyBy;

    @Column(name = "modify_date")
    private String modifyDate;
}
